package com.foreknow.example;

/**
 * 图书类
 * 
 * @author ttc
 *
 */
public class Book {
	private int pid;
	private String pname;
	private double price;
	private int stroage;
	
	public Book(int pid,String pname,double price,int storage) {
		this.pid = pid;
		this.pname = pname;
		this.price = price;
		this.stroage = storage;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public int getStroage() {
		return stroage;
	}

	public void setStroage(int stroage) {
		this.stroage = stroage;
	}

}
